import request from "@/utils/request";

export function list(data) {
  return request("role/list", data, 'get');
}

export function getAll(data) {
  return request("role/all", data, 'get');
}

export function info(data) {
  return request("role/info", data, 'get');
}

export function open(data) {
  return request("role/open", data, 'post');
}

export function add(data) {
  return request("role/add", data, 'post');
}

export function edit(data) {
  return request("role/edit", data, 'post');
}

export function del(data) {
  return request("role/del", data, 'post');
}

export function recommend(data) {
  return request("role/recommend", data, 'post');
}
